﻿@{
	Layout = "";
}
@model ConfigurationModel
@using Nop.Plugin.Payments.Assist.Models;
@using Nop.Web.Framework;
@using (Html.BeginForm())
{
	<table class="adminContent">
		<tr>
			<td colspan="2">
				<b>@T("Plugins.Payments.Assist.Notes")</b>
			</td>
		</tr>
		<tr>
			<td class="adminTitle">
				@Html.NopLabelFor(model => model.UseSandbox):
			</td>
			<td class="adminData">
				@Html.EditorFor(model => model.UseSandbox)
				@Html.ValidationMessageFor(model => model.UseSandbox)
			</td>
		</tr>
		<tr>
			<td class="adminTitle">
				@Html.NopLabelFor(model => model.GatewayUrl):
			</td>
			<td class="adminData">
				@Html.EditorFor(model => model.GatewayUrl)
				@Html.ValidationMessageFor(model => model.GatewayUrl)
			</td>
		</tr>
		<tr>
			<td class="adminTitle">
				@Html.NopLabelFor(model => model.MerchantId):
			</td>
			<td class="adminData">
				@Html.EditorFor(model => model.MerchantId)
				@Html.ValidationMessageFor(model => model.MerchantId)
			</td>
		</tr>
		<tr>
			<td class="adminTitle">
				@Html.NopLabelFor(model => model.UserName):
			</td>
			<td class="adminData">
				@Html.EditorFor(model => model.UserName)
				@Html.ValidationMessageFor(model => model.UserName)
			</td>
		</tr>
		<tr>
			<td class="adminTitle">
				@Html.NopLabelFor(model => model.Password):
			</td>
			<td class="adminData">
				@Html.EditorFor(model => model.Password)
				@Html.ValidationMessageFor(model => model.Password)
			</td>
		</tr>
		<tr>
			<td class="adminTitle">
				@Html.NopLabelFor(model => model.TransactModeValues):
			</td>
			<td class="adminData">
				@Html.DropDownList("TransactModeId", Model.TransactModeValues)
			</td>
		</tr>
		<tr>
			<td class="adminTitle">
				@Html.NopLabelFor(model => model.ValidateOrderTotal):
			</td>
			<td class="adminData">
				@Html.EditorFor(model => model.ValidateOrderTotal)
				@Html.ValidationMessageFor(model => model.ValidateOrderTotal)
			</td>
		</tr>
		<tr>
			<td class="adminTitle">
				@Html.NopLabelFor(model => model.AdditionalFee):
			</td>
			<td class="adminData">
				@Html.EditorFor(model => model.AdditionalFee)
				@Html.ValidationMessageFor(model => model.AdditionalFee)
			</td>
		</tr>
		<tr>
			<td colspan="2" width="100%">
				<button type="submit" name="save" value="save" class="t-button">@T("Admin.Common.Save")</button>
			</td>
		</tr>
	</table>
}